package com.rookie.data.generate.constant.annotation;

import com.rookie.data.generate.component.GenerateScanRegister;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 数据生成标识
 * @author rookie
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Import(GenerateScanRegister.class)
public @interface GenerateScan {

    /**
     * 扫描实体类路径
     * @return 路径集合
     */
    String[] value();
}
